package com.dh.weibo.dao;

import com.dh.weibo.pojo.Collection;
import com.dh.weibo.pojo.Comment;

import java.util.ArrayList;
import java.util.List;

public class CollectionDao {
    private List<Collection> collections = new ArrayList<>();// 多态


    /**
     * 收藏
     *
     * @param collection
     */
    public void collection(Collection collection) {
        collections.add(collection);
    }

    public void delete(String id) {
    }
}
